build: Check for the gi python module
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 19 Dec 2021 16:06:49 +0000 (16:06 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 19 Dec 2021 16:06:49 +0000 (16:06 +0000)
commitc94996e8e876c206c4193160e51c74bdc37764cf
tree1995ca8b7a33483571f678a28a7f7ec0fb8d9d5e
parent942e841cbc12c6fb2a14c583ae8d7d85cefaf303
build: Check for the gi python module

The introspection tests depend on the pygobject module, but we currently
are not checking if it's available at configuration time, which means we
can get build failures like:

> ModuleNotFoundError: No module named 'gi'

when running the test suite.
testsuite/introspection/meson.build